package com.meilai.project.dto.business.installOrder;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;


/**
 * @author 杨凯博
 * @date 2022/3/17
 */


@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ApiModel(value = "对象-工单-列表查询", description = "对象-工单-列表查询")
public class WorkOrderSearchDTO {
    @ApiModelProperty(value = "工单类型id，1：新安装，2:上刊，3:下刊，4:巡检，5:维修")
    private Integer work_order_type_id;
    @ApiModelProperty(value = "工单名称")
    private String name;
    @ApiModelProperty(value = "截止日期最小值，时间段搜索的起始，yyyy-MM-dd")
    private String deadline_date_min;
    @ApiModelProperty(value = "截止日期最大值，时间段搜索的结束，yyyy-MM-dd")
    private String deadline_date_max;
    @ApiModelProperty(value = "执行状态，1：未执行，2：执行中，3：已完成，4：已过期，5：手动关闭")
    private Integer execute_status;
    @ApiModelProperty(value = "媒体类型")
    private List<Long> media_type_ids;
    @ApiModelProperty(value = "工单ID集合")
    private List<Long> ids;
}
